<template>
  <div class="comment-container">
    <textarea name id cols="20" rows="10" placeholder="请输入评论"></textarea>
    <mt-button type="primary" size="large" @click="toastSuccess">发表评论</mt-button>
  </div>
</template>

<script>
import { Toast } from 'mint-ui';

export default {
  methods: {
    toastSuccess: function () {
      Toast('评论成功');
    }
  },

}
</script>

<style lang="scss" scoped>
.comment-container {
  margin: 15px 15px;
}
</style>
